import Http from '@/http'

export function chargingApi(init){
    return Http.get('chargeOrder/charging', {init})
}

export function detailApi(id){
    return Http.get('chargeOrder/detail/' + id)
}

export function pageApi(params:any){
    return Http.get('chargeOrder/page', params)
}

export function paramsApi(id, pageNo:number, pageSize:number) {
    return Http.post('chargeOrder/params', {id, pageNo, pageSize})
}